<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
    <link rel="icon" href="<%= require('@/assets/logo/logo.png') %>">
    <link rel="stylesheet" type="text/css" media="print" href="<%= BASE_URL %>print-lock.css">
    <title><%= webpackConfig.name %></title>
    <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
	  <style>
    html,
    body,
    #app {
      height: 100%;
      margin: 0px;
      padding: 0px;
    }
    .chromeframe {
      margin: 0.2em 0;
      background: #ccc;
      color: #000;
      padding: 0.2em 0;
    }

    #loader-wrapper {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      background: #f0f8ff;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    /* 卡通云朵背景 */
    .cloud {
      position: absolute;
      background: white;
      border-radius: 50px;
      animation: float 6s ease-in-out infinite;
    }

    .cloud:before,
    .cloud:after {
      content: '';
      position: absolute;
      background: white;
      border-radius: 50%;
    }

    .cloud1 {
      width: 100px;
      height: 40px;
      top: 20%;
      left: 10%;
    }

    .cloud1:before {
      width: 50px;
      height: 50px;
      top: -20px;
      left: 15px;
    }

    .cloud1:after {
      width: 40px;
      height: 40px;
      top: -15px;
      right: 15px;
    }

    .cloud2 {
      width: 80px;
      height: 30px;
      top: 30%;
      right: 15%;
      animation-delay: 2s;
    }

    .cloud2:before {
      width: 40px;
      height: 40px;
      top: -15px;
      left: 10px;
    }

    .cloud2:after {
      width: 30px;
      height: 30px;
      top: -10px;
      right: 10px;
    }

    /* 卡通加载动画 */
    .cartoon-loader {
      position: relative;
      width: 120px;
      height: 120px;
      margin-bottom: 30px;
    }

    .cartoon-face {
      position: absolute;
      width: 100%;
      height: 100%;
      background: #FFD700;
      border-radius: 50%;
      box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }

    .eye {
      position: absolute;
      width: 20px;
      height: 20px;
      background: #333;
      border-radius: 50%;
      top: 40px;
      animation: blink 3s infinite;
    }

    .eye.left {
      left: 30px;
    }

    .eye.right {
      right: 30px;
    }

    .mouth {
      position: absolute;
      width: 40px;
      height: 20px;
      border: 4px solid #333;
      border-radius: 0 0 40px 40px;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      animation: smile 2s infinite;
    }

    .loading-dots {
      position: absolute;
      bottom: -40px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
    }

    .dot {
      width: 12px;
      height: 12px;
      background: #FFD700;
      border-radius: 50%;
      animation: bounce 1s infinite;
    }

    .dot:nth-child(2) {
      animation-delay: 0.2s;
    }

    .dot:nth-child(3) {
      animation-delay: 0.4s;
    }

    .load_title {
      color: #333;
      font-size: 20px;
      font-family: "Microsoft YaHei", sans-serif;
      text-align: center;
      margin-top: 40px;
      position: relative;
      padding: 15px 30px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-20px);
      }
    }

    @keyframes blink {
      0%, 45%, 55%, 100% {
        transform: scaleY(1);
      }
      50% {
        transform: scaleY(0.1);
      }
    }

    @keyframes smile {
      0%, 100% {
        transform: translateX(-50%) scaleX(1);
      }
      50% {
        transform: translateX(-50%) scaleX(0.8);
      }
    }

    @keyframes bounce {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    .loader-section {
      position: fixed;
      top: 0;
      width: 51%;
      height: 100%;
      background: #f0f8ff;
      z-index: 1000;
      transform: translateX(0);
      transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }

    .loader-section.section-left {
      left: 0;
    }

    .loader-section.section-right {
      right: 0;
    }

    .loaded .loader-section.section-left {
      transform: translateX(-100%);
    }

    .loaded .loader-section.section-right {
      transform: translateX(100%);
    }

    .loaded .cartoon-loader {
      opacity: 0;
      transition: all 0.3s ease-out;
    }

    .loaded #loader-wrapper {
      visibility: hidden;
      transform: translateY(-100%);
      transition: all 0.3s 1s ease-out;
    }
  </style>
  </head>
  <body>
    <div id="app">
	    <div id="loader-wrapper">
		    <div class="cloud cloud1"></div>
		    <div class="cloud cloud2"></div>
		    <div class="cartoon-loader">
			    <div class="cartoon-face">
				    <div class="eye left"></div>
				    <div class="eye right"></div>
				    <div class="mouth"></div>
			    </div>
			    <div class="loading-dots">
				    <div class="dot"></div>
				    <div class="dot"></div>
				    <div class="dot"></div>
			    </div>
		    </div>
		    <div class="loader-section section-left"></div>
		    <div class="loader-section section-right"></div>
		    <div class="load_title">正在加载系统资源，请耐心等待</div>
        </div>
	</div>
  </body>
</html>
